package com.example.car.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.car.entity.Car_login;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;


public interface CarMapper extends BaseMapper<Car_login> {

    @Select("select * from car_login where user_name = #{username} and user_password = #{password}")
    Car_login selectByNameAndPassword(@Param("username") String username, @Param("password") String password);
}
